package com.micro.frog.fortune.sdk.cwl.impl;

import com.micro.frog.fortune.sdk.cwl.CwlApi;
import com.micro.frog.fortune.sdk.cwl.model.CwlApiReq;
import com.micro.frog.fortune.sdk.cwl.model.CwlApiResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author jason.lv
 */
@FeignClient(name = "cwl-api", contextId = "cwl-api")
public interface CwlFeign extends CwlApi {

    /**
     * 查询往期开奖记录
     * @param req 查询条件
     * @return 结果
     */
    @Override
    @GetMapping("/cwl_admin/front/cwlkj/search/kjxx/findDrawNotice")
    CwlApiResp list(@SpringQueryMap CwlApiReq req);
}
